

cc.Class({
    extends: cc.Component,

    properties: {
    },
    GameHitShow(txt) {
        this.node.getChildByName("v").getComponent(cc.Label).string = txt;

        var moveTo = cc.moveTo(2, cc.v2(this.node.x, this.node.y + 180))
        var self = this;
        setTimeout(function () {
            if (self.node)
                self.node.destroy();
        }, 5000);
        this.node.runAction(cc.spawn(moveTo, cc.fadeOut(2)));

    }, 



});
